Optimal. Leaf size=36 \[ -\frac{2 i \sqrt{a+i a \tan (c+d x)} \sqrt{e \cos (c+d x)}}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.129311, antiderivative size = 36, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 30, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067, Rules used = {3515, 3488} \[ -\frac{2 i \sqrt{a+i a \tan (c+d x)} \sqrt{e \cos (c+d x)}}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3515
Rule 3488
Rubi steps
\begin{align*} \int \sqrt{e \cos (c+d x)} \sqrt{a+i a \tan (c+d x)} \, dx &=\left (\sqrt{e \cos (c+d x)} \sqrt{e \sec (c+d x)}\right ) \int \frac{\sqrt{a+i a \tan (c+d x)}}{\sqrt{e \sec (c+d x)}} \, dx\\ &=-\frac{2 i \sqrt{e \cos (c+d x)} \sqrt{a+i a \tan (c+d x)}}{d}\\ \end{align*}
Mathematica [A] time = 0.171395, size = 36, normalized size = 1. \[ -\frac{2 i \sqrt{a+i a \tan (c+d x)} \sqrt{e \cos (c+d x)}}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.322, size = 45, normalized size = 1.3 \begin{align*}{\frac{-2\,i}{d}\sqrt{e\cos \left ( dx+c \right ) }\sqrt{{\frac{a \left ( i\sin \left ( dx+c \right ) +\cos \left ( dx+c \right ) \right ) }{\cos \left ( dx+c \right ) }}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 2.36209, size = 103, normalized size = 2.86 \begin{align*} -\frac{2 i \, \sqrt{a} \sqrt{e} \sqrt{-\frac{2 i \, \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + \frac{\sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} - 1}}{d \sqrt{-\frac{\sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} - 1}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.10329, size = 157, normalized size = 4.36 \begin{align*} -\frac{2 i \, \sqrt{2} \sqrt{\frac{1}{2}} \sqrt{e e^{\left (2 i \, d x + 2 i \, c\right )} + e} \sqrt{\frac{a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}} e^{\left (\frac{1}{2} i \, d x + \frac{1}{2} i \, c\right )}}{d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]